import './assets/main.css'

import {createApp} from 'vue'
import {createPinia} from 'pinia'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 引入懒加载插件并注册
import {lazyPlugin} from "@/directives/index.js";


const app = createApp(App)
const pinia = createPinia();

app.use(router).use(pinia).use(ElementPlus).use(lazyPlugin)

app.mount('#app')
